package com.chisheng.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 学生映射实体类
 *
 * @author chisheng
 * @since 2021-10-28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {

    @ExcelProperty(value = "学生姓名" /* 写映射 */, index = 1 /* 读映射 */)  /* 设置表头映射 */
    private String name;

    @ExcelProperty(value = "学生学号", index = 0)
    private String number;

}
